package com.zbdx.medicalzb.mapper;

import com.zbdx.medicalzb.entity.DoctorEntity;
import com.zbdx.medicalzb.model.DoctorLevelModel;
import com.zbdx.medicalzb.model.DoctorModel;
import com.zbdx.medicalzb.model.TreatTypeModel;
import com.zbdx.medicalzb.param.DoctorParam;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DoctorMapper {

    List<DoctorModel> getAllDoctor(DoctorParam param);

    List<TreatTypeModel> getAllTreatType();

    List<DoctorLevelModel> getAllLevel();


    int saveDoctor(DoctorEntity de);

    int updateDoctor(DoctorEntity de);

    DoctorModel getDoctorById(Long id);

    int deleteDoctorById(Long id);
}
